class CreateArtistAliases < ActiveRecord::Migration
  def self.up
    create_table :artist_aliases do |t|
      t.integer  :artist_id, :null => false
      t.string :alias
      t.string :details
    end

    add_foreign_key(:artist_aliases, :artists, :column => :artist_id)
  end

  def self.down
    drop_table :artist_aliases
  end
end
